'use strict';

const Service = require('egg').Service;

class UserService extends Service {
   async exist(id) {
       let {app}=this
    return await app.model.User.findOne({
        id
    })
  }
}

module.exports = UserService;
